<template>
  <div>
    <Header></Header>
    <!-- 路由组件出口的地方 -->
    <router-view></router-view>
    <!-- 在Home，Search显示，在登录，注册时隐藏 -->
    <Footer v-show="$route.meta.show"></Footer>
  </div>

</template>

<script>
import Footer from './components/Footer'
import Header from './components/Header'
export default {
  name: '',
  components: {
    Header,
    Footer
  },
  data() {
    return {}
  },
  created() { },
  mounted() { },
  methods: {}
}
</script>
<style scoped></style>
